package com.my.server2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

@Data
@TableName(value = "goods")
public class Goods implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 货物名称
     */
    @TableField(value = "good_name")
    private String goodName;

    /**
     * 货物库存量
     */
    @TableField(value = "good_rest")
    private Integer goodRest;

    private static final long serialVersionUID = 1L;
}